package cn.com.joco.dk.webby.model;

import java.util.List;
import java.util.Set;


public class Channel {
	private static final long serialVersionUID = 1L;
	private String name;					//名称
	private List<Channel> children;			//子级ID
	
	private Channel parent;  				//父ID	
	private float paixu=0;					//排序
	private String type;					//类型  1.目录 2.单页 3.外链 4.模型 5.业务模块  6.特定模板页
	private String url;						//地址 当type为3时有效
	private String metadataId;     //模型ID 当type为4时有效
	private String moduleId;  //模块ID	当type为5时有效
	private String menupic1;     //菜单图片
	private String menupic2;  //菜单选中后图片
	private String banner;  //banner图片
	private String metaTitle;
	private String metaKeywords;
	private String metaDescription;
	private int status=1; // 0. 删除  1. 正常
	private int showable=1; //0.不在前台显示   1.在前台显示

	private String flag;  //英文标识
	private String mainTemplatePath;  //栏目主页模板的模板地址
	private String listTemplatePath;   //栏目列表页模板的模板地址
	private String contentTemplatePath;  //栏目内容页模板的模板地址
	
	private String signpageTemplatePath;  //单页的模板的模板地址
	private String pointTemplatePath;  //特定模板页的模板地址
	private Set<User> users;
	
	/**
	 * 所属的siteid
	 * */
	private long siteId;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Channel> getChildren() {
		return children;
	}

	public void setChildren(List<Channel> children) {
		this.children = children;
	}

	public Channel getParent() {
		return parent;
	}

	public void setParent(Channel parent) {
		this.parent = parent;
	}

	public float getPaixu() {
		return paixu;
	}

	public void setPaixu(float paixu) {
		this.paixu = paixu;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getMetadataId() {
		return metadataId;
	}

	public void setMetadataId(String metadataId) {
		this.metadataId = metadataId;
	}

	public String getModuleId() {
		return moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}

	public String getMenupic1() {
		return menupic1;
	}

	public void setMenupic1(String menupic1) {
		this.menupic1 = menupic1;
	}

	public String getMenupic2() {
		return menupic2;
	}

	public void setMenupic2(String menupic2) {
		this.menupic2 = menupic2;
	}

	public String getBanner() {
		return banner;
	}

	public void setBanner(String banner) {
		this.banner = banner;
	}

	public String getMetaTitle() {
		return metaTitle;
	}

	public void setMetaTitle(String metaTitle) {
		this.metaTitle = metaTitle;
	}

	public String getMetaKeywords() {
		return metaKeywords;
	}

	public void setMetaKeywords(String metaKeywords) {
		this.metaKeywords = metaKeywords;
	}

	public String getMetaDescription() {
		return metaDescription;
	}

	public void setMetaDescription(String metaDescription) {
		this.metaDescription = metaDescription;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getShowable() {
		return showable;
	}

	public void setShowable(int showable) {
		this.showable = showable;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getMainTemplatePath() {
		return mainTemplatePath;
	}

	public void setMainTemplatePath(String mainTemplatePath) {
		this.mainTemplatePath = mainTemplatePath;
	}

	public String getListTemplatePath() {
		return listTemplatePath;
	}

	public void setListTemplatePath(String listTemplatePath) {
		this.listTemplatePath = listTemplatePath;
	}

	public String getContentTemplatePath() {
		return contentTemplatePath;
	}

	public void setContentTemplatePath(String contentTemplatePath) {
		this.contentTemplatePath = contentTemplatePath;
	}

	public String getSignpageTemplatePath() {
		return signpageTemplatePath;
	}

	public void setSignpageTemplatePath(String signpageTemplatePath) {
		this.signpageTemplatePath = signpageTemplatePath;
	}

	public String getPointTemplatePath() {
		return pointTemplatePath;
	}

	public void setPointTemplatePath(String pointTemplatePath) {
		this.pointTemplatePath = pointTemplatePath;
	}

	public Set<User> getUsers() {
		return users;
	}

	public void setUsers(Set<User> users) {
		this.users = users;
	}

	public long getSiteId() {
		return siteId;
	}

	public void setSiteId(long siteId) {
		this.siteId = siteId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	} 
	
	
}
